﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LPY.LeHealth.Service;
using LPY.LeHealth.DTO;

namespace LPY.LeHealth.WebSite.Controllers
{
    public class tibaoController : Controller
    {
        private tibaoService TibaoService;
        // GET: tibao
        public ActionResult Index()
        {
            return View();
        }
         public tibaoController()
        {
            TibaoService = new tibaoService ();
        }
        /// <summary>
        /// 显示体检报告信息
        /// </summary>
        /// <returns></returns>
        public ActionResult xian()
        {

            int id =Convert.ToInt32(Session["id"]);
             List<tibao> list = TibaoService.getcombo2list1(id);
            return Json(list, JsonRequestBehavior.AllowGet);
        }
        
    }
}